package com.dfrobot.demo.domain.entity;

import javax.persistence.*;
import lombok.Data;

@Data
@Table(name = "event")
public class Event {
    @Id
    @Column(name = "event_id")
    private Integer eventId;

    private String code;

    private Boolean status;

    @Column(name = "sort_order")
    private Integer sortOrder;

    private String trigger;

    private String action;
}